package emulator.shell.GUI;

import java.awt.Color;
import java.io.OutputStream;
import java.io.PrintStream;


public class TestMain {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		ConsoleFrame console = ConsoleFrame.createConsole(null, null, null);
		OutputStream outs = new ConsoleOutputStream(console, Color.gray, false);
		PrintStream out = new PrintStream(outs);
		out.println("Hello world!");
		
		ConsoleOutputStream outf = new ConsoleOutputStream(console, Color.black, true);
		ConsoleInputFeedback feedback = new ConsoleInputFeedback(outf);
		console.addObserver(feedback);
	}

}
